package cn.zhentao.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class Maintenance implements Serializable {
    //维修表主键
    private Integer id;
    //地址表外键
    private Integer addressId;
    //寄回时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat( pattern = "yyyy-MM-dd HH:mm:ss")
    private Date returnName;
    //订单外键
    private Integer maintenanceOrder;
    //物流外键
    private Integer logisticsId;
    //连接用户表
    private Integer uid;
}
